package drone.basis.dictionary;

public enum EmailDict  {

	MAIL_QQ("qq.com"),
	MAIL_VIPQQ("vip.qq.com"),
	MAIL_126("126.com"),
	MAIL_21CN("21cn.com"),
	MAIL_263("263.net"),
	MAIL_SINACN("sina.com.cn"),
	MAIL_TOM("tom.com"),
	MAIL_163NET("163.net"),
	MAIL_SOHU("sohu.com"),
	MAIL_YEAH("yeah.net"),
	MAIL_163COM("163.com"),
	MAIL_SINACOM("sina.com"),
	MAIL_139COM("139.com"),;

	private String name;

	private EmailDict(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public static Boolean exist (
			String currency
	)
	{
		for ( CurrencyDict item : CurrencyDict.values ( ) )
		{
			if ( item.name ( ).equalsIgnoreCase ( currency ) )
			{
				return true ;
			}
		}
		return false ;
	}

}
